package test.servletTest;

import org.junit.Before;
import org.junit.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import servlet.AdminLoginServlet;

import javax.servlet.ServletConfig;
import java.util.ResourceBundle;

import static org.mockito.Mockito.*;

public class AdminLoginServletTest {
    @Mock
    ResourceBundle lStrings;
    @Mock
    ServletConfig config;
    @InjectMocks
    AdminLoginServlet adminLoginServlet;

    @Before
    public void setUp() {
        MockitoAnnotations.initMocks(this);
    }

    @Test
    public void testDoPost() throws Exception {
        adminLoginServlet.doPost(null, null);
    }
}

//Generated with love by TestMe :) Please report issues and submit feature requests at: http://weirddev.com/forum#!/testme